charm.land/lipgloss/v2.Style.getAsBool (method)

39 uses

	charm.land/lipgloss/v2 (current package)
		borders.go#L330: 		hasTop    = s.getAsBool(borderTopKey, false)
		borders.go#L331: 		hasRight  = s.getAsBool(borderRightKey, false)
		borders.go#L332: 		hasBottom = s.getAsBool(borderBottomKey, false)
		borders.go#L333: 		hasLeft   = s.getAsBool(borderLeftKey, false)
		get.go#L12: 	return s.getAsBool(boldKey, false)
		get.go#L18: 	return s.getAsBool(italicKey, false)
		get.go#L42: 	return s.getAsBool(strikethroughKey, false)
		get.go#L48: 	return s.getAsBool(reverseKey, false)
		get.go#L54: 	return s.getAsBool(blinkKey, false)
		get.go#L60: 	return s.getAsBool(faintKey, false)
		get.go#L175: 	return s.getAsBool(colorWhitespaceKey, false)
		get.go#L239: 		s.getAsBool(borderTopKey, false),
		get.go#L240: 		s.getAsBool(borderRightKey, false),
		get.go#L241: 		s.getAsBool(borderBottomKey, false),
		get.go#L242: 		s.getAsBool(borderLeftKey, false)
		get.go#L254: 	return s.getAsBool(borderTopKey, false)
		get.go#L260: 	return s.getAsBool(borderRightKey, false)
		get.go#L266: 	return s.getAsBool(borderBottomKey, false)
		get.go#L272: 	return s.getAsBool(borderLeftKey, false)
		get.go#L351: 	if !s.getAsBool(borderTopKey, false) {
		get.go#L364: 	if !s.getAsBool(borderLeftKey, false) {
		get.go#L377: 	if !s.getAsBool(borderBottomKey, false) {
		get.go#L390: 	if !s.getAsBool(borderRightKey, false) {
		get.go#L413: 	return s.getAsBool(inlineKey, false)
		get.go#L437: 	return s.getAsBool(underlineSpacesKey, false)
		get.go#L443: 	return s.getAsBool(strikethroughSpacesKey, false)
		get.go#L504: func (s Style) getAsBool(k propKey, defaultVal bool) bool {
		style.go#L280: 		bold          = s.getAsBool(boldKey, false)
		style.go#L281: 		italic        = s.getAsBool(italicKey, false)
		style.go#L282: 		strikethrough = s.getAsBool(strikethroughKey, false)
		style.go#L283: 		reverse       = s.getAsBool(reverseKey, false)
		style.go#L284: 		blink         = s.getAsBool(blinkKey, false)
		style.go#L285: 		faint         = s.getAsBool(faintKey, false)
		style.go#L305: 		colorWhitespace = s.getAsBool(colorWhitespaceKey, true)
		style.go#L306: 		inline          = s.getAsBool(inlineKey, false)
		style.go#L310: 		underlineSpaces     = s.getAsBool(underlineSpacesKey, false) || (underline && s.getAsBool(underlineSpacesKey, true))
		style.go#L311: 		strikethroughSpaces = s.getAsBool(strikethroughSpacesKey, false) || (strikethrough && s.getAsBool(strikethroughSpacesKey, true))